<?php

  //for($i = 1; $i <= 16; $i++)
  //{
  //  echo "<img src=http://www.tmk.edu.ee/~student$i/film.jpg width=640><br>\n";
  //}
  
  echo "<center>";
  for ($i = 1; $i < 20; $i++)
  {
    for ($j = 1; $j <= $i; $j++)
    {
      $rnd = rand(1, 15);

      switch ($rnd)
      {
        case 1:
          echo "<span style='color: red'>";
          break;
        case 2:
          echo "<span style='color: yellow'>";
          break;
        default:
          echo "<span style='color: green'>";
          break;
      }      
      echo "**";
      echo "</span>";
    }
    echo "<br>";
  }
  echo "<span style='color: brown'>";
  echo "****<br>";
  echo "****<br>";
  echo "****<br>";













?>